import request from '@/common/request.js'
import { formatGetUri } from '@/common/util.js'

const api = {};
const FANS = 'fans';
//粉丝列表
api.fansself = params => request.globalRequest(`${FANS}/fans_self`, 'POST', params, 1)
//粉丝数量
api.self_fans_number = params => request.globalRequest(`${FANS}/self_fans_number`, 'POST', params, 1)

// GET请求方式
//api.homeindex = params => request.globalRequest(`${PORT1}/index${formatGetUri(params)}`, 'GET',{}, 1)
export default api